package cn.zn.modules.budget.cur.entity;

import cn.zn.framework.common.abs.AbsOldMainEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * 
 * @author zn
 * @email zhunahao@qq.com
 * @date 2019-12-10 14:27:52
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_budget_info_detail")
public class TBudgetInfoDetailEntity extends AbsOldMainEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 预算类型
	 */
	@TableField(value = "BUDGET_TYPE_")
	@Builder.Default
	private Integer budgetType = 1;

	/**
	 * 经济分类
	 */
	@TableField(value = "CATE_CODE_")
	private String cateCode;

	/**
	 * 部门
	 */
	@TableField(value = "DEPT_CODE_")
	private String deptCode;

	/**
	 * 金额
	 */
	@TableField(value = "MONEY_")
	private Double money;

	/**
	 * 项目
	 */
	@TableField(value = "PROJECT_CODE_")
	private String projectCode;

	/**
	 * 状态
	 */
	@TableField(value = "STATE_")
	private Integer state = 0;

	/**
	 * 预算年度
	 */
	@TableField(value = "YEAR_")
	private Integer year;

	/**
	 * 来源
	 */
	@TableField(value = "SOURCE_")
	private String source;

	/**
	 * 来源标识
	 */
	@TableField(value = "SOURCE_TAG_")
	private String sourceTag;

    /**
     * 部门名称
     */
    @TableField(exist = false)
	private String deptName;

    /**
     * 项目名称
     */
    @TableField(exist = false)
    private String projectName;

    /**
     * 经济分类名称
     */
    @TableField(exist = false)
    private String cateName;

	/**
	 * 查询条件
	 */
	@TableField(exist = false)
	private String key;
	/**
	 * 查询状态
	 */
	@TableField(exist = false)
	private String queryState;

}
